package com.ax.associator.store.service;

import com.ax.associator.store.common.utils.PageUtils;
import com.ax.associator.store.domain.Attachment;
import com.ax.associator.store.domain.BaseAssociator;
import com.ax.associator.store.domain.BusiAttachRelation;
import com.ax.associator.store.domain.memberDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface storeAssociatorService {

    /**
     * 新增会员
     * @param record
     * @return
     */
    Integer insertSelective(BaseAssociator baseAssociator);

    /**
     * 查询会员(模块:会员中心)
     *
     * @param Map<String, Object> map
     *
     * @return PageUtils
     */
    List<BaseAssociator> queryAssociatorMapper(Map<String,Object> map);

    /**
     * 会员列表
     * @param associatorId
     * @return
     */
    PageUtils queryMember(Map<String, Object> params);

    /**
     * 会员信息修改
     * @param record
     * @return
     */
    Integer updateBaseAssociator(BaseAssociator baseAssociator);

    /**
     * 删除会员
     * @param associatorId
     * @return
     */
    Integer deleteAssociator(Long associatorId);


}
